home *** CD-ROM | disk | FTP | other *** search
/ Champak 143 / (Vol 143) Nov 15 2011.iso / Games / aqua_cubes.swf / scripts / frame_83 / DoAction_8.as < prev    next >
Text File  |  2011-11-15  |  943b  |  39 lines

  1. _root.fx_mute._visible = false;
  2. _root.fx_pause._visible = false;
  3. _root.b_mute.b.onRelease = function()
  4. {
  5.    if(_root.systpause == false)
  6.    {
  7.       _root.fx_mute._visible = !_root.fx_mute._visible;
  8.    }
  9.    _root.b_mute.play();
  10.    var _loc2_ = new Sound(_root);
  11.    if(_root.fx_mute._visible)
  12.    {
  13.       _root.volume = _loc2_.getVolume();
  14.       _loc2_.setVolume(0);
  15.    }
  16.    else
  17.    {
  18.       _loc2_.setVolume(_root.volume);
  19.       delete _root.volume;
  20.    }
  21. };
  22. _root.b_pause.b.onRelease = function()
  23. {
  24.    if(_root.systpause == false and _root.pa_syst._visible != true and _root.pa_help._visible != true)
  25.    {
  26.       _root.gamepause = !_root.gamepause;
  27.       _root.fx_pause._visible = !_root.fx_pause._visible;
  28.    }
  29. };
  30. _root.b_MFZ.onRelease = function()
  31. {
  32.    getUrl("http://www.mofunzone.com/", "_blank");
  33. };
  34. _root.b_survmenu.onRelease = function()
  35. {
  36.    stopAllSounds();
  37.    _root.gotoAndStop("Title","title");
  38. };
  39.